home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
mx
/
events
/
StateChangeEvent.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
966b
|
35 lines
package mx.events
{
import flash.events.Event;
import mx.core.mx_internal;
use namespace mx_internal;
public class StateChangeEvent extends Event
{
public static const CURRENT_STATE_CHANGING:String = "currentStateChanging";
public static const CURRENT_STATE_CHANGE:String = "currentStateChange";
mx_internal static const VERSION:String = "3.0.0.0";
public var newState:String;
public var oldState:String;
public function StateChangeEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:String = null, param5:String = null)
{
super(param1,param2,param3);
this.oldState = param4;
this.newState = param5;
}
override public function clone() : Event
{
return new StateChangeEvent(type,bubbles,cancelable,oldState,newState);
}
}
}